package com.niannian.bean;

/**
 * 聊天消息的javaBean
 * 
 * @author shengl
 * 
 */
public class ChatMsgBean {

	private int msgid = 0;// 消息id
	private int targetuid = 0;
	private String targetname = "";// 消息来自
	private int dateline = 0;// 消息日期
	private int issend = 0;
	private String msg = "";// 是否为收到的消息
	private int SendMsgState = 0;// 发送消息的状态

	public ChatMsgBean() {
	}

	public ChatMsgBean(int msgid, int targetuid, String targetname,
			int dateline, int issend, int hassend, String msg) {
		super();
		this.msgid = msgid;
		this.targetuid = targetuid;
		this.targetname = targetname;
		this.dateline = dateline;
		this.issend = issend;
		this.msg = msg;
	}

	public int getSendMsgState() {
		return SendMsgState;
	}

	public void setSendMsgState(int sendMsgState) {
		SendMsgState = sendMsgState;
	}

	public int getMsgid() {
		return msgid;
	}

	public void setMsgid(int msgid) {
		this.msgid = msgid;
	}

	public int getTargetuid() {
		return targetuid;
	}

	public void setTargetuid(int targetuid) {
		this.targetuid = targetuid;
	}

	public String getTargetname() {
		return targetname;
	}

	public void setTargetname(String targetname) {
		this.targetname = targetname;
	}

	public int getDateline() {
		return dateline;
	}

	public void setDateline(int dateline) {
		this.dateline = dateline;
	}

	public int getIssend() {
		return issend;
	}

	public void setIssend(int issend) {
		this.issend = issend;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
